<?php if (!defined('THINK_PATH')) exit();?><head>
    <title>商城系统</title>
    <link rel="stylesheet" href="/E-shop/Public/css/xiaomi.css"/>
    <link rel="stylesheet" type="text/css" href="/E-shop/Public/css/registered.css">
    <script type="text/javascript" src="/E-shop/Public/js/jquery.js"></script>
    <script type="text/javascript" src="/E-shop/Public/js/dist/jquery.validate.min.js"></script>
    <script type="text/javascript" src="/E-shop/Public/js/dist/localization/messages_zh.min.js"></script>
</head>
<body>
    <div class="top">
        <div class="topbar">
            <span class="welcome" style="float:left">欢迎光临大米网 
                 ,请
                 <a href="login" class="red"> 登录</a>&nbsp;
                 <a href="registered" style="padding-left:0;padding-right:10px"> 免费注册 </a>   
            </span>     
            <span class="operate_nav">  
                <span id="account">
                    <a rel="nofollow">我的账号&nbsp;</a>
                    <i id="icount" class="fa fa-angle-down"></i> 
                </span>
                <ul id="dbox" class="top_lg_info_down" style="display: none; padding: 0px;">
                   <li>
                      <a rel="nofollow" href="" class="lian">个人中心</a>
                   </li>
                   <li>
                      <a rel="nofollow" href="" class="lian">我的收藏</a>
                   </li>
                   <li>
                      <a rel="nofollow" href="" class="lian">优惠券</a>
                   </li>
                   <li>
                      <a rel="nofollow" href="" class="jie">我的评论</a>
                   </li>
                </ul>      
            |</span>      
            <span class="operate_nav">   
                <a rel="nofollow" href="">我的订单</a>
            |</span>   
            <span class="operate_nav">  
                <a href="javascript:AddToShoppingCart(0);" name="购物车" dd_name="购物车">
                    <i class="icon_card"></i>购物车
                    <b id="cart_items_count"></b>
                </a> 
            </span>
        </div>
    </div>
    
    <script type="text/javascript">
        //头部topbar会员中心显示与隐藏
         var Account= document.getElementById('account');
                    var Downmenu= document.getElementById('dbox');
                    var timer = null;//定义定时器变量
                    //鼠标移入div1或div2都把定时器关闭了，不让他消失
                    Account.onmouseover = Downmenu.onmouseover = function ()
                    {
                       //改变箭头方向
                       $("i#icount").attr("class","fa fa-angle-down");
                             
                       //改变背景颜色
                       // Account.style.backgroundColor = '#fff';
                       //显示下拉框
                              $("#dbox").show();
                      //关闭定时执行
                              clearTimeout(timer);
                          }
      
                    //鼠标移出div1或div2都重新开定时器，让他延时消失
                    Account.onmouseout = Downmenu.onmouseout = function ()
                    {
                      $("i#icount").attr("class","fa fa-angle-down");
                      // Account.style.backgroundColor = '#F5F5F5';
                       //开定时器，每隔200微妙下拉框消失
                              timer = setTimeout(function () { 
                                  $("#dbox").hide(); }, 200);
                    }
</script>

<script type="text/javascript">
          $.validator.setDefaults({
               submitHandler: function() {
                   alert("提交事件!");
                     }
                 });
                           
          $().ready(function() {
               $("#commentForm").validate({
                    rules:{
                        password:"required",
                        repassword:{
                            equalTo:"#password"
                               }
                          }
                        });
                   });

</script> 
    
    <div class="wrapper-cart">
    <!-- 导航条 -->
        <div class="header-wrap">
            <a href="" class="logo" title="大米网">
                <img src="/E-shop/Public/images/xiaomi_logo.png" alt="大米网">
            </a>
        <div class=""></div>
        </div>
        <!-- 主体 -->
        <div class="wrapper">
            <section>
                <div class="mainwrap">
                   <div class="think-form"> 
                       <div class="loginform">
                           <div class="hd">
                               <strong>用户注册</strong>
                               <span>已有帐号？点击
                                   <a href="login">登录</a>
                               </span>            
                           </div>
                           <a rel="nofollow" href="" class="img"> 
                              <img src="/shop/Public/Home/images/login-3.jpg" width="400" height="300">
                           </a>
                       </div>
                            
                       <div class="login-other"> 
                           <form class="form-horizontal" id="commentForm" action="<?php echo U('zhuce');?>" method="post">
                                <div class="control-group">
                                    <label class="control-label" for="inputEmail">用户名</label>
                                    <div class="controls">
                                        <em class="user glyphicon glyphicon-user"></em>
                                        <input type="text" id="inputEmail" class="v_inp" placeholder="请输入用户名" minlength="2"  name="name" required>
                                    </div>
                                </div>
                                
                                <div class="control-group">
                                    <label class="control-label" for="password">密码</label>
                                    <div class="controls">
                                        <input type="password" id="password" class="v_inp" placeholder="请输入密码" name="password" required minlength="6">
                                    </div>
                                </div>
                                
                                <div class="control-group">
                                    <label class="control-label" for="repassword">确认密码</label>
                                    <div class="controls">
                                        <input type="password" id="repassword" class="v_inp" placeholder="请再次输入密码" name="repassword" required>
                                    </div>
                                </div>

                                <div class="control-group">
                                    <label class="control-label" for="inputPassword">手机号</label>
                                    <div class="controls">
                                        <input type="text" id="phonenumber" class="v_inp" placeholder="请输入手机号" digits="true" min="11" name="phonenumber" required>
                                    </div>
                                </div>
                                
                                <div class="control-group">
                                    <label class="control-label" for="inputEmail">邮箱</label>
                                    <div class="controls">
                                        <input type="email" id="inputEmail" class="v_inp" placeholder="请输入电子邮件" value="" name="email" required>
                                    </div>
                                    <div class="controls Validform_checktip text-warning"></div>
                                </div>

                                <div class="control-group">
                                    <div class="controls">
                                        <button type="submit" class="v_dark_btn">注 册</button>
                                    </div>
                                </div>
                           </form>
                           <p>合作网站账号登录：
                               <a class="" href="">
                                  <img src="/shop/Public/Home/images/qq.png">
                               </a>
                               <a class="" href="">
                                   <img src="/shop/Public/Home/images/weibo.png">
                               </a>
                           </p>
                       </div>
                   </div>
                </div>
            </section>
        </div>
    </div>
    <div id="foot_box">
        <div id="foot_wrap">
            <div class="foot_top">
                <ul>
                    <li>1小时快修服务</li>
                    <li class="font_top_i">|</li>
                    <li>7天无理由退货</li>
                    <li class="font_top_i">|</li>
                    <li>15天免费换货</li>
                    <li class="font_top_i">|</li>
                    <li>满150元包邮</li>
                    <li class="font_top_i">|</li>
                    <li>520余家售后网点</li>
                </ul>
            </div>
            <div class="foot_bottom">
                <div class="foot_bottom_l">
                    <dl>
                        <dt>帮助中心</dt>
                        <dd>购物指南</dd>
                        <dd>支付方式</dd>
                        <dd>配送方式</dd>
                    </dl>
                    <dl>
                        <dt>服务支持</dt>
                        <dd>售后政策</dd>
                        <dd>自助服务</dd>
                        <dd>相关下载</dd>
                    </dl>
                    <dl>
                        <dt>大米之家</dt>
                        <dd>大米之家</dd>
                        <dd>服务网点</dd>
                        <dd>预约亲临到店服务</dd>
                    </dl>
                    <dl>
                        <dt>关注我们</dt>
                        <dd>新浪微博</dd>
                        <dd>大米部落</dd>
                        <dd>官方微信</dd>
                    </dl>
                </div>
                <div class="foot_bottom_r">
                    <a>400-100-5678</a>
                    <a>周一至周日 8:00-18:00</a>
                    <a>（仅收市话费）</a>
                    <span> 24小时在线客服</span>
                </div>
            </div>
        </div>
        <div class="foot_note_box">
            <div class="foot_note_wrap">
                <div class="foot_note_con">
                    <span class="foot_logo"><img src="img/mi-logo.png" width="38px" height="38px"></span>
					<span class="foot_note_txt">
						<a>大米网</a><h>|</h><a>MIUI</a><h>|</h><a>米聊</a><h>|</h><a>多看书城</a><h>|</h><a>大米路由器</a><h>|</h><a>大米后院</a><h>|</h><a>大米天猫店</a><h>|</h><a>大米淘宝直营店</a><h>|</h><a>大米网盟</a><h>|</h><a>问题反馈</a><h>|</h><a>Select Region</a>
					    <a> 5555555号</a>
					</span>
                </div>

            </div>
        </div>
    </div>
</body>